package com.tiger.project.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * 【资产列表变更记录】对象 asset_history
 *
 * @author standard
 * @date 2022-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "asset_history对象", description = "【资产列表变更记录】内容")
public class AssetHistory extends BaseEntity {
private static final long serialVersionUID = 1L;

        /** ID */
        private Long id;

        /** 资产id */
        @Excel(name = "资产id")
        @ApiModelProperty(value = "资产id")
        private Long assetId;

        /** 履历id */
        @Excel(name = "履历id")
        @ApiModelProperty(value = "原表数据historyId ")
        private Long historyId;


        /** 变更时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "变更时间", width = 30, dateFormat = "yyyy-MM-dd")
        @ApiModelProperty(value = "变更时间")
        private Date changeTime;

        /** 1-托管变更，2-处置，3-拆迁，4-灭失 */
        @Excel(name = "1-托管变更，2-处置，3-拆迁，4-灭失")
        @ApiModelProperty(value = "1-托管变更，2-处置，3-拆迁，4-灭失")
        private Integer changeType;

        /** 变更说明 */
        @Excel(name = "变更说明")
        @ApiModelProperty(value = "变更说明")
        private String changeDesc;

        /** 附件地址 */
        @Excel(name = "附件地址")
        @ApiModelProperty(value = "附件地址")
        private String enclosureUrl;

        /** 创建时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
        @ApiModelProperty(value = "创建时间")
        private Date createdAt;

        /** 更新时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
        @ApiModelProperty(value = "更新时间")
        private Date updatedAt;




}
